<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="java.util.Map"%>
<%@ page import="org.limp.mine.StringTool"%>
<%@ page import="org.limp.basework.impl.CommonBean4HSQ"%>
<%@ page import="jt.classic.system.wordbook.WordBookUtil" %>
<%
    String context = jt.classic.system.ISystem.getContextPath();

    String serverUrl = WordBookUtil.getWordBookItemName("jspparameters", "emapServerURL");
    
    CommonBean4HSQ cbh = new CommonBean4HSQ(request);

	Map params = cbh.getResource();

	String klon = StringTool.checkString(params.get("klon"));
	String klat = StringTool.checkString(params.get("klat"));
	String kusername = StringTool.checkString(params.get("kusername"));
	String ktype = StringTool.checkString(params.get("ktype"));
	String ktime = StringTool.checkString(params.get("ktime"));
	String kpath = StringTool.checkString(params.get("kpath"));
	
	String title = kusername + " " + ktime + " 考勤位置";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=title %></title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"></meta>
<script src='<%=serverUrl %>'  type='text/javascript'></script>
<script>
    window.onblur = function() {
		window.focus();
		//window.close();
	}
</script>	
</head>
<jsp:include page="../head.jsp"></jsp:include>
<script type="text/javascript" src="<%=context %>/app/kaoqin/js/initmap.js"></script>
<body onload="javascript:init('<%=klon %>','<%=klat %>','<%=kusername %>','<%=ktype %>','<%=ktime %>','<%=kpath %>');">
<div id="mapObj" style="width: 100%; height: 100%;"></div>
</body>
</html>